gtk4.git
5 years agogdk: Drop GDK_PARENT_RELATIVE
Matthias Clasen [Tue, 26 May 2020 23:21:55 +0000 (19:21 -0400)]
gdk: Drop GDK_PARENT_RELATIVE

This define is not used anywhere.

5 years agoaccelgroup: Expand translator comment
Matthias Clasen [Tue, 26 May 2020 01:37:43 +0000 (21:37 -0400)]
accelgroup: Expand translator comment

Add details about the use of KP.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 26 May 2020 02:41:37 +0000 (02:41 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #2778

See merge request GNOME/gtk!1966

5 years agoMerge branch 'ebassi/for-master' into 'master'
Matthias Clasen [Tue, 26 May 2020 01:35:11 +0000 (01:35 +0000)]
Merge branch 'ebassi/for-master' into 'master'

Ebassi/for master

Closes #2783

See merge request GNOME/gtk!1962

5 years agodocs: Mention shortcuts in the migration guide
Matthias Clasen [Tue, 26 May 2020 01:27:58 +0000 (21:27 -0400)]
docs: Mention shortcuts in the migration guide

Add a few paragraphs about GtkAccelGroup, GtkBindingSet
and GtkAccelMap to the migration guide.

Fixes: #2778
5 years agoaccelgroup: Drop some unused code
Matthias Clasen [Tue, 26 May 2020 00:55:26 +0000 (20:55 -0400)]
accelgroup: Drop some unused code

5 years agoHelp static analysis with an assertion
Matthias Clasen [Tue, 26 May 2020 00:38:16 +0000 (20:38 -0400)]
Help static analysis with an assertion

It is hard for clang to see that layouts will
always be smaller than num_layouts, so just assert
that.

5 years agobitmask: add an assertion
Matthias Clasen [Mon, 25 May 2020 21:18:27 +0000 (17:18 -0400)]
bitmask: add an assertion

The static analysis in ci is complaining about
this, since it doesn't know that start is always
smaller than end.

5 years agoprinting: Drop a redundant assignment
Matthias Clasen [Mon, 25 May 2020 21:12:56 +0000 (17:12 -0400)]
printing: Drop a redundant assignment

This showed up as a warning in static analysis in ci.

5 years agodocs: Mention pandoc as build dependency
Matthias Clasen [Mon, 25 May 2020 21:08:34 +0000 (17:08 -0400)]
docs: Mention pandoc as build dependency

5 years agoMerge branch 'doc-chapters-markdown' into 'master'
Matthias Clasen [Tue, 26 May 2020 00:55:10 +0000 (00:55 +0000)]
Merge branch 'doc-chapters-markdown' into 'master'

Include markdown content, via pandoc

See merge request GNOME/gtk!1961

5 years agodocs: Use the right python
Matthias Clasen [Mon, 25 May 2020 22:40:09 +0000 (18:40 -0400)]
docs: Use the right python

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 25 May 2020 20:23:06 +0000 (20:23 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1965

5 years agoci: Use fedora-docs for the doc build
Matthias Clasen [Mon, 25 May 2020 16:48:10 +0000 (12:48 -0400)]
ci: Use fedora-docs for the doc build

Our doc build now uses pandoc, so use an image
that has it.

5 years agoci: Add a fedora-docs image
Matthias Clasen [Mon, 25 May 2020 16:45:29 +0000 (12:45 -0400)]
ci: Add a fedora-docs image

Split the fedora image into fedora-base (containing just
the packages) and fedora (adding the user setup), and add
a fedora-docs image that is adding pandoc on top of the
fedora-base image.

5 years agodocs: Convert question index to markdown
Matthias Clasen [Sun, 24 May 2020 18:25:25 +0000 (14:25 -0400)]
docs: Convert question index to markdown

With this, the expand_content_files list has been
completely converted to markdown files. Whats left
in content_files is man pages, and a few special
cases.

5 years agodocs: Allow interrupted lists
Matthias Clasen [Sun, 24 May 2020 18:20:42 +0000 (14:20 -0400)]
docs: Allow interrupted lists

We use such an interrupted, numbered list in the
q&a section, so tell pandoc to pay attention to
start numbers.

5 years agodocs: Convert treeview and textview overview to markdown
Matthias Clasen [Sun, 24 May 2020 15:42:52 +0000 (11:42 -0400)]
docs: Convert treeview and textview overview to markdown

5 years agodocs: Allow influencing pandoc divisons
Matthias Clasen [Sun, 24 May 2020 16:04:15 +0000 (12:04 -0400)]
docs: Allow influencing pandoc divisons

Arrange for files named section-foo.md to be turned
into docbook sections, while others get turned into
chapters. This is necessary to allow including such
content in chapters, since chapters in docbook don't
nest.

5 years agodocs: Drop the glossary
Matthias Clasen [Sun, 24 May 2020 15:12:56 +0000 (11:12 -0400)]
docs: Drop the glossary

It is very incomplete, somewhat outdated, and
we lack the resources to maintain it properly.

5 years agodocs: Convert resources section to markdown
Matthias Clasen [Sun, 24 May 2020 15:07:45 +0000 (11:07 -0400)]
docs: Convert resources section to markdown

5 years agodocs: Drop a long-stale file
Matthias Clasen [Sun, 24 May 2020 14:57:52 +0000 (10:57 -0400)]
docs: Drop a long-stale file

The other_software.xml section has not been included in
the docs since 2.x, as far as I can tell. It was clearly
written before GIO existed.

5 years agodocs: Convert platform sections to markdown
Matthias Clasen [Sun, 24 May 2020 14:55:02 +0000 (10:55 -0400)]
docs: Convert platform sections to markdown

5 years agodocs: Convert getting_started to markdown
Matthias Clasen [Sun, 24 May 2020 04:22:31 +0000 (00:22 -0400)]
docs: Convert getting_started to markdown

As part of the conversion, give up on including
sources files from the examples directory, and
instead include the content directly. All include
mechanisms add complications. They were already
complicated with xml, and markdown is not making
things easier.

We already did that for fragments, and if you
make changes to these example sources, you
probably need to revise the surrounding text
anyway.

5 years agodocs: Refresh the inspector screenshot
Matthias Clasen [Sun, 24 May 2020 04:08:58 +0000 (00:08 -0400)]
docs: Refresh the inspector screenshot

5 years agodocs: Convert building, compiling, running to markdown
Matthias Clasen [Sun, 24 May 2020 04:04:36 +0000 (00:04 -0400)]
docs: Convert building, compiling, running to markdown

5 years agodoc: Check for pandoc
Matthias Clasen [Sun, 24 May 2020 01:41:15 +0000 (21:41 -0400)]
doc: Check for pandoc

Add an explicit check for pandoc, so we get a clear
error message if it is missing.

5 years agodocs: Convert css overview to markdown
Matthias Clasen [Sun, 24 May 2020 01:32:35 +0000 (21:32 -0400)]
docs: Convert css overview to markdown

5 years agodocs: Be more careful when expanding abbreviations
Matthias Clasen [Sun, 24 May 2020 01:33:25 +0000 (21:33 -0400)]
docs: Be more careful when expanding abbreviations

We must not expand #symbol in the middle of a url,
where it is probably a fragment identifier. Restrict
problem.

5 years agowip: Include markdown content, via pandoc
Matthias Clasen [Sat, 23 May 2020 01:56:39 +0000 (21:56 -0400)]
wip: Include markdown content, via pandoc

Use pandoc to convert freestanding markdown files to docbook for
inclusion in the generated docs, and use bits and pieces of
gtk-doc code to continue expanding typical gtk-doc abbreviations.
The new tool for markdown -> docbook is a python script called
gtk-markdown-to-docbook.

The markdown dialect is specified via a list of pandoc extension
in gtk-markdown-to-docbook. It includes header annocations,
definition lists and tables, among other things.

This commit converts the 3 overview chapters (drawing, input
handling and actions) and the migration guide to markdown
syntax. Other files that are still listed in content_files
can be converted later.

This commit adds a pandoc dependency.

5 years agoAdd GtkOverlayLayout to the docs
Matthias Clasen [Mon, 25 May 2020 19:18:14 +0000 (15:18 -0400)]
Add GtkOverlayLayout to the docs

5 years agoMake GtkOverlayLayout public
Matthias Clasen [Mon, 25 May 2020 18:22:10 +0000 (14:22 -0400)]
Make GtkOverlayLayout public

Keeping the layout manager type private does not
really work when it has layout child properties
that need to be usable in ui files.

5 years agoconstraint-editor: Don't use g_type_ensure
Matthias Clasen [Mon, 25 May 2020 18:14:28 +0000 (14:14 -0400)]
constraint-editor: Don't use g_type_ensure

This isn't necessary if we export the get_type function.

5 years agoadwaita: move backdrop box shadows to .csd
Timm Bäder [Mon, 25 May 2020 08:36:29 +0000 (10:36 +0200)]
adwaita: move backdrop box shadows to .csd

Fixes #2781

5 years agocompare-render: Fix some memory leaks
Timm Bäder [Sun, 24 May 2020 15:14:18 +0000 (17:14 +0200)]
compare-render: Fix some memory leaks

5 years agoAdd a comment for translators
Emmanuele Bassi [Sun, 24 May 2020 14:20:13 +0000 (15:20 +0100)]
Add a comment for translators

"KP" refers to the numeric keypad, in this context.

Fixes: #2783
5 years agoUse the private GdkKeyEvent.translated_key getter
Emmanuele Bassi [Fri, 22 May 2020 11:37:37 +0000 (12:37 +0100)]
Use the private GdkKeyEvent.translated_key getter

We can avoid poking directly at the GdkKeyEvent structure, now.

5 years agoAdd private accessor for GdkKeyEvent.translated
Emmanuele Bassi [Fri, 22 May 2020 11:35:58 +0000 (12:35 +0100)]
Add private accessor for GdkKeyEvent.translated

Avoid accessing the event structure directly, even from within GTK.

5 years agogl renderer: Improve clipping code
Timm Bäder [Sun, 24 May 2020 10:06:07 +0000 (12:06 +0200)]
gl renderer: Improve clipping code

don't render a clip to a texture if the new clip does not intersect with
any of the corners of the currently rounded clip.

Fixes #2770

5 years agogl renderer: Refactor render_clipped_child
Timm Bäder [Sun, 24 May 2020 06:31:55 +0000 (08:31 +0200)]
gl renderer: Refactor render_clipped_child

5 years agogl renderer: Cache whether clips is rectilinear
Timm Bäder [Sun, 24 May 2020 06:31:40 +0000 (08:31 +0200)]
gl renderer: Cache whether clips is rectilinear

5 years agoapplicationwindow: Simplify measure implementation
Timm Bäder [Sat, 23 May 2020 04:37:18 +0000 (06:37 +0200)]
applicationwindow: Simplify measure implementation

We already chain up first thing in this function, so no need to do it
again.

5 years agowindow: Remove private _get_shadow_width()
Timm Bäder [Sat, 23 May 2020 04:35:50 +0000 (06:35 +0200)]
window: Remove private _get_shadow_width()

Unused now.

5 years agoapplicationwindow: Stop querying shadow width
Timm Bäder [Sat, 23 May 2020 04:35:27 +0000 (06:35 +0200)]
applicationwindow: Stop querying shadow width

don't need to do this anymore.

5 years agoUpdate Polish translation
Piotr Drąg [Sun, 24 May 2020 13:07:03 +0000 (15:07 +0200)]
Update Polish translation

5 years agoUpdate Romanian translation
Florentina Mușat [Sun, 24 May 2020 10:48:29 +0000 (10:48 +0000)]
Update Romanian translation

5 years agoUpdate Romanian translation
Florentina Mușat [Sun, 24 May 2020 10:37:15 +0000 (10:37 +0000)]
Update Romanian translation

5 years agoUpdate Turkish translation
Emin Tufan Çetin [Sat, 23 May 2020 08:50:36 +0000 (08:50 +0000)]
Update Turkish translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 23 May 2020 00:05:16 +0000 (00:05 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

gtk-demo: Fix the dnd demo drop highlight

See merge request GNOME/gtk!1958

5 years agoMerge branch 'no-app-menu' into 'master'
Matthias Clasen [Fri, 22 May 2020 23:46:56 +0000 (23:46 +0000)]
Merge branch 'no-app-menu' into 'master'

Drop the app menu

Closes #2731

See merge request GNOME/gtk!1951

5 years agogtk-demo: Fix the dnd demo drop highlight
Matthias Clasen [Fri, 22 May 2020 22:52:56 +0000 (18:52 -0400)]
gtk-demo: Fix the dnd demo drop highlight

We want the drop highlight to be around the label,
not around the item containing it, so move the drop
target gesture to the right widget.

5 years agodocs: Mention app menus in the migration guide
Matthias Clasen [Fri, 22 May 2020 22:46:51 +0000 (18:46 -0400)]
docs: Mention app menus in the migration guide

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 22 May 2020 22:19:59 +0000 (22:19 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1957

5 years agoMerge branch 'BUG_filechooserbutton_remote_GTK4' into 'master'
Matthias Clasen [Fri, 22 May 2020 21:37:40 +0000 (21:37 +0000)]
Merge branch 'BUG_filechooserbutton_remote_GTK4' into 'master'

FileChooserButton: query 'display name' also for unbookmarked files

Closes #1966

See merge request GNOME/gtk!1725

5 years agogtkapplication: Drop app menu support
Matthias Clasen [Fri, 22 May 2020 21:06:30 +0000 (17:06 -0400)]
gtkapplication: Drop app menu support

Drop apis and code related to appmenus from
both GtkApplication and GtkApplicationWindow.

We still keep the menubar support, since it
is needed for system integration on OS X.

Fixes: #2731
5 years agoprint-editor: Stop using appmenu apis
Matthias Clasen [Fri, 22 May 2020 21:05:10 +0000 (17:05 -0400)]
print-editor: Stop using appmenu apis

The appmenu-related GtkApplication apis are going away.

5 years agoinspector: Drop app-menu support
Matthias Clasen [Fri, 22 May 2020 20:52:31 +0000 (16:52 -0400)]
inspector: Drop app-menu support

Don't add app menu to the object tree anymore;
this property is going away.

5 years agoexamples: Stop using appmenu apis
Matthias Clasen [Fri, 22 May 2020 20:36:20 +0000 (16:36 -0400)]
examples: Stop using appmenu apis

The appmenu-related GtkApplication apis are going away.

5 years agogtk-demo: Stop using appmenu apis
Matthias Clasen [Fri, 22 May 2020 20:19:49 +0000 (16:19 -0400)]
gtk-demo: Stop using appmenu apis

The appmenu-related GtkApplication apis are going away.

5 years agofixed: Change coordinate apis to doubles
Matthias Clasen [Fri, 22 May 2020 21:19:35 +0000 (17:19 -0400)]
fixed: Change coordinate apis to doubles

We are using floating point for coordinates
everywhere now, so be consistent here.

This commit also changes the implementation of
gtk_fixed_get_child_position to work with
non-translation child transforms.

5 years agotestsuite: Re-add the sizegroups-evolution reftest
Matthias Clasen [Fri, 22 May 2020 19:53:18 +0000 (15:53 -0400)]
testsuite: Re-add the sizegroups-evolution reftest

It doesn't seem to cause problems in ci anymore.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 22 May 2020 20:59:44 +0000 (20:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

text: Avoid clash of preedit and placeholder

See merge request GNOME/gtk!1955

5 years agogtk-demo: Improve rotation in the dnd demo
Matthias Clasen [Fri, 22 May 2020 19:38:02 +0000 (15:38 -0400)]
gtk-demo: Improve rotation in the dnd demo

Make the drag icon preserve the rotation, and improve
placement for the editor and for dnd to take the offset
into account.

5 years agogl renderer: don't pretend all transform nodes support being transformed
Timm Bäder [Fri, 22 May 2020 17:50:29 +0000 (19:50 +0200)]
gl renderer: don't pretend all transform nodes support being transformed

It doesn't work in the general case. The transform handling could use a
general overhaul though.

Fixes #2773

5 years agogl renderer: Fix some off-by-one and rounding errors in the shadow code
Timm Bäder [Fri, 22 May 2020 17:37:15 +0000 (19:37 +0200)]
gl renderer: Fix some off-by-one and rounding errors in the shadow code

Take 24

Fixes #2759

5 years agogtk-demo: Improve editing in the dnd demo
Matthias Clasen [Fri, 22 May 2020 18:06:00 +0000 (14:06 -0400)]
gtk-demo: Improve editing in the dnd demo

Add a scale for the angle, make the edits apply immediately,
and keep the item visible.

5 years agogtk-demo: Improve drag icon handling in dnd example
Matthias Clasen [Fri, 22 May 2020 17:25:17 +0000 (13:25 -0400)]
gtk-demo: Improve drag icon handling in dnd example

Make the opacity change only apply to the 'ghost' of
the item, not the drag icon.

5 years agogtk-demo: Fix entry position in dnd demo
Matthias Clasen [Fri, 22 May 2020 17:17:59 +0000 (13:17 -0400)]
gtk-demo: Fix entry position in dnd demo

gtk_fixed_get_child_position does not work if children
have transforms that are not just 2D translations.
Use gtk_widget_translate_coordinates instead.

5 years agogtk-demo: Reorganize the dnd demo
Matthias Clasen [Fri, 22 May 2020 16:35:18 +0000 (12:35 -0400)]
gtk-demo: Reorganize the dnd demo

Introduce a CanvasItem widget to make things a
bit less ad hoc.

5 years agomain: Keep the target widget alive
Matthias Clasen [Fri, 22 May 2020 16:25:23 +0000 (12:25 -0400)]
main: Keep the target widget alive

We are passing the event to the tooltip handle_event
function at the very end. Unfortunately, the target_widget
may have already died at that point. We prevent that
by taking a ref during propagage_event, but the tooltip
code was outside of that. Keep a ref until the very
end ot prevent crashes.

5 years agogtk-demo: Use proper drag icons in the dnd demo
Matthias Clasen [Fri, 22 May 2020 14:50:09 +0000 (10:50 -0400)]
gtk-demo: Use proper drag icons in the dnd demo

Use a widget paintable to make the drag icon appear
in two places at once.

5 years agodragsource: Actually use the paintable
Matthias Clasen [Fri, 22 May 2020 14:49:12 +0000 (10:49 -0400)]
dragsource: Actually use the paintable

We were just ignoring a paintable provided by
gtk_drag_source_set_icon().

5 years agocolorswatch: Remove a redundant include
Matthias Clasen [Fri, 22 May 2020 14:48:49 +0000 (10:48 -0400)]
colorswatch: Remove a redundant include

5 years agoreftests: Fix the background-origin test
Matthias Clasen [Fri, 22 May 2020 03:11:47 +0000 (23:11 -0400)]
reftests: Fix the background-origin test

This was broken when I accidentally removed
one of the buttons.

5 years agotext: Avoid clash of preedit and placeholder
Matthias Clasen [Fri, 22 May 2020 02:42:53 +0000 (22:42 -0400)]
text: Avoid clash of preedit and placeholder

Take preedit into account when determining the
visibility of placeholder text.

5 years agoMerge branch 'fix-printbackend' into 'master'
Matthias Clasen [Fri, 22 May 2020 14:20:35 +0000 (14:20 +0000)]
Merge branch 'fix-printbackend' into 'master'

Build media backends with common_cflags and export the symbol

Closes #2771

See merge request GNOME/gtk!1956

5 years agoBuild media backends with common_cflags and export the symbol
Qiu Wenbo [Fri, 22 May 2020 08:45:44 +0000 (16:45 +0800)]
Build media backends with common_cflags and export the symbol

Fixes: #2771
5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 22 May 2020 05:47:20 +0000 (05:47 +0000)]
Update Ukrainian translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 22 May 2020 01:59:34 +0000 (01:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #227, #328, and #1010

See merge request GNOME/gtk!1954

5 years agotrash-monitor: Rate limit updates
Ondrej Holy [Fri, 22 May 2020 01:14:47 +0000 (21:14 -0400)]
trash-monitor: Rate limit updates

Trash monitor queries info from gvfsd-trash after each file monitor
change which can be problematic when too many changes happen in
a short time. Let's rate limit the number of queries...

Fixes: #1010
5 years agorange: Treat lower and upper limit the same
Matthias Clasen [Fri, 22 May 2020 00:37:54 +0000 (20:37 -0400)]
range: Treat lower and upper limit the same

When clamping values to be within the range of
the adjustment, treat the lower and upper limit
the same.

Fixes: #328
5 years agowindowhandle: Drop Move and Resize from the fallback menu
Matthias Clasen [Thu, 21 May 2020 23:04:27 +0000 (19:04 -0400)]
windowhandle: Drop Move and Resize from the fallback menu

The expected behavior is that we trigger a keyboard-driven
interactive move or resize operation. But that doesn't work
with common compositors like mutter or weston, so lets not
expose non-working menuitems.

5 years agotooltip: Avoid criticals
Matthias Clasen [Thu, 21 May 2020 22:59:58 +0000 (18:59 -0400)]
tooltip: Avoid criticals

It is possible that the target widget is already
unparented at the time that we call the tooltips
handle_event function. Quietly return in that case,
no need to emit a critical.

5 years agoaccelgroup: Use Unicode in string literals
Matthias Clasen [Thu, 21 May 2020 22:15:14 +0000 (18:15 -0400)]
accelgroup: Use Unicode in string literals

Its 2020, non-ASCII characters are not taboo anymore.

5 years agoDifferentiate keypad keysyms in accelerators
Matthias Clasen [Thu, 21 May 2020 22:05:43 +0000 (18:05 -0400)]
Differentiate keypad keysyms in accelerators

When displaying accelerators, differentiate keypad
symbols with a 'KP' prefix. Fixing a 17 year old bug.

Update expected output in accelerator tests.

Fixes: #227
5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 21 May 2020 21:31:17 +0000 (21:31 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1953

5 years agogtk-demo: Fix breakage in a css demo
Matthias Clasen [Thu, 21 May 2020 20:24:56 +0000 (16:24 -0400)]
gtk-demo: Fix breakage in a css demo

This is fallout from container api changes. We
were treating a GtkOverlay like a GtkBox, which
it isn't.

5 years agogtk-demo: Plug another leak
Matthias Clasen [Thu, 21 May 2020 20:24:20 +0000 (16:24 -0400)]
gtk-demo: Plug another leak

We were leaking the builder in the css blendmodes demo,
by creating a ref cycle. This was showing up as
the list entry not going back to upright after
closing the window.

5 years agogtk-demo: Plug another leak
Matthias Clasen [Thu, 21 May 2020 20:23:42 +0000 (16:23 -0400)]
gtk-demo: Plug another leak

We were leaking the builder in the revealers demo,
by creating a ref cycle. This was showing up as
the list entry not going back to upright after
closing the window.

5 years agogtk-demo: Plug another leak
Matthias Clasen [Thu, 21 May 2020 19:41:00 +0000 (15:41 -0400)]
gtk-demo: Plug another leak

We were leaking the builder in the cursors demo,
by creating a ref cycle. This was showing up as
the list entry not going back to upright after
closing the window.

5 years agogtk-demo: Plug a leak
Matthias Clasen [Thu, 21 May 2020 19:39:46 +0000 (15:39 -0400)]
gtk-demo: Plug a leak

We were leaking the builder in the builder demo,
by creating a ref cycle. This was showing up as
the list entry not going back to upright after
closing the window.

5 years agogl renderer: Fix blurred outset shadow slicing
Timm Bäder [Wed, 20 May 2020 06:01:48 +0000 (08:01 +0200)]
gl renderer: Fix blurred outset shadow slicing

Take 23.

Fixes #2759

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 20 May 2020 20:57:34 +0000 (20:57 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!1950

5 years agoMerge branch 'wip/exalm/window-polish' into 'master'
Matthias Clasen [Wed, 20 May 2020 20:13:30 +0000 (20:13 +0000)]
Merge branch 'wip/exalm/window-polish' into 'master'

window: Fix tiled style class names

See merge request GNOME/gtk!1949

5 years agomediastream: Volume is a double
Matthias Clasen [Wed, 20 May 2020 19:07:58 +0000 (15:07 -0400)]
mediastream: Volume is a double

Another obvious copy-paste error in the property
declarations of GtkMediaStream. Volume should be
a double, with range [0, 1], not a boolean.

5 years agomediastream: Some properties were meant to be readonly
Matthias Clasen [Wed, 20 May 2020 19:05:13 +0000 (15:05 -0400)]
mediastream: Some properties were meant to be readonly

These properties aren't covered by set_property(), and
it doesn't make sense to do so. They were just declared
as read-write by mistake.

5 years agomediacontrols: Make volume control react to has-audio
Matthias Clasen [Wed, 20 May 2020 19:04:44 +0000 (15:04 -0400)]
mediacontrols: Make volume control react to has-audio

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 20 May 2020 18:01:07 +0000 (18:01 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

gdk: Short-circuit some surface setters

See merge request GNOME/gtk!1947

5 years agowindow: Fix tiled style class names
Alexander Mikhaylenko [Wed, 20 May 2020 17:10:32 +0000 (22:10 +0500)]
window: Fix tiled style class names

This should fix the round corners on tiled windows.

5 years agoMerge branch 'wip/baedert/single-node-window' into 'master'
Timm Bäder [Wed, 20 May 2020 17:06:37 +0000 (17:06 +0000)]
Merge branch 'wip/baedert/single-node-window' into 'master'

single node GtkWindow

See merge request GNOME/gtk!1863